

/*************************************************************************
;    Copyright (c) 2004-2010, fhbit                      
;    All rights reserved.                                                             
;     
;    file name : lpc_data_type.h
;    description: give some basic definitions which will be used in the drivers   
;
;    History     :
;  1.  created : charles liu, 2010-02-07
;*************************************************************************/

#ifndef __LPC_DATA_TYPE_H
#define __LPC_DATA_TYPE_H
/************************************************************************
;   Data  types definition                                  
*************************************************************************/
typedef unsigned char   LPC_BOOL;                 
typedef unsigned char   LPC_INT8U;                   
typedef signed   char   LPC_INT8S;                   
typedef unsigned short  LPC_INT16U;                 
typedef signed   short  LPC_INT16S;                
typedef unsigned long   LPC_INT32U;                 
typedef signed   long   LPC_INT32S;                 

#define LPC_STATUS      unsigned long
#define LPC_SUCCESS     0
#define LPC_FAILURE     1
#define LPC_PARA_ERROR  0x10

#define  no_err         0

#ifndef TRUE
#define TRUE            1
#endif

#ifndef FALSE
#define FALSE           0
#endif

#ifndef NULL
#define NULL            0
#endif

////////////////////////////////////////////////////
#ifdef WIN32
#define __irq
#endif
///////////////////////////////////////////////////

#endif /* __LPC_DATA_TYPE_H */



